@import '../../../css/colorVar.less';

.assetPreparation {
  .shaixuan {
    display: flex;
    height: 300px;
    .left {
      width: 100px;
      overflow-y: auto;
      border-right: 1px solid @menu_border;
      :global {
        .ant-menu-inline .ant-menu-item {
          padding: 0 !important;
          text-align: center !important;
          height: 45px !important;
          line-height: 45px !important;
        }
      }
    }
    .right {
      margin-left: 30px;
      overflow-y: auto;
      width: calc(~'100% - 100px');
      border-bottom: 1px solid @table_header_bg;
      :global {
        .checkboxCls {
          margin-bottom: 10px;
        }
      }
    }
  }
}
.setting {
  .settingTable {
    display: flex;
    padding-left: 20px;
    > div {
      padding-right: 20px;
    }
    > div:last-child {
      padding-right: 0;
    }
    :global {
      .ant-legacy-form-item-control-wrapper {
        width: 100% !important;
      }
    }
    .quzhi {
      display: flex;
      :global {
        .ant-legacy-form-item-children > div {
          height: 30px !important;
        }
        .ant-legacy-form-item {
          width: 54%;
        }
      }

      > div:nth-child(2) {
        line-height: 33px;
        padding: 0 5px;
      }
    }
  }
  .title {
    color: @text_main;
    background-color: @table_header_bg;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    margin-bottom: 10px;
  }
  .TableArea {
    max-height: 450px;
    overflow-y: auto;
    margin-bottom: 20px;
    border-bottom: 1px solid @table_header_bg;
    padding-bottom: 10px;
  }
}
.lableRequire::before {
  display: inline-block;
  margin-right: 4px;
  content: '*';
  font-family: SimSun;
  line-height: 1;
  font-size: 14px;
  color: @form_star;
}

.planList {
  display: flex;
  background: @section_bg;
  padding: 15px 0 10px;
  > div:first-child {
    width: 30%;
  }
  > div:nth-child(2) {
    padding-top: 5px;
    padding-left: 150px;
    > div {
      padding-right: 10px;
      display: inline-block;
    }
  }
}
.shstyle {
  :global {
    .ant-popover-inner {
      height: 317px;
      width: 250px;

      .ant-popover-inner-content {
        height: 249px;
        width: 250px;
        overflow: auto;

        .btnArea {
          z-index: 1;
          // background-color: blue!important;
          border-top-style: solid;
          border-color: @tab_split;
          border-width: 1px;
          font-size: 14px;
          width: 250px;
          height: 70px;
          margin-left: -16px;
          position: absolute;
          top: 260px;

          .btnCol {
            margin-top: 18px;

            .search-button {
              background-color: @theme;
              font-size: 14px;
              color: @number_bg;
              border-radius: 2px;
              border: 0;
              margin-right: 10px;
              width: 60px;
            }

            .reset-button {
              background-color: @number_bg;
              font-size: 14px;
              color: @theme;
              border-radius: 2px;
              border: 1px solid @theme;
              width: 60px;
            }
          }
        }
      }
    }
  }
}

:global {
  .modalPlan {
    :global {
      .ant-modal-content {
        .labeli {
          display: inline-block;
          width: 50px;
          text-align: right;
          font-style: normal;
        }
      }
    }
  }
}

.popoverBox {
  :global {
    .ant-popover-inner-content {
      padding: 0;

      .confirm-box {
        padding-bottom: 10px;

        .confirm-list {
          max-height: 140px;
          overflow-y: scroll;
          overflow-x: hidden;
        }

        .confirm-list::-webkit-scrollbar {
          display: none;
        }

        ul {
          padding: 0;
          margin: 6px 0;

          li {
            height: 30px;
            width: 190px;

            a {
              padding: 0 14px;
              line-height: 30px;
              width: 100%;
              display: inline-block;
              color: @text_main;

              .list-item {
                display: flex;
                justify-content: space-between;
                align-items: center;

                span {
                  overflow: hidden;
                  text-overflow: ellipsis;
                  white-space: nowrap;
                }

                .list-icon {
                  color: transparent;
                }
              }
            }

            a:hover {
              background: @text_hover_bg;
            }

            .a-active {
              background: @text_hover_bg;

              .list-icon {
                color: @theme !important;
              }
            }
          }
        }
      }

      .confirm-btn {
        padding-top: 10px;
        display: flex;
        justify-content: space-evenly;
        box-shadow: -2px -10px 10px -10px @butt_disable_border;
      }
    }
  }
}
